notebook: Fix assert in ::drag-motion
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 26 May 2015 14:26:59 +0000 (16:26 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 26 May 2015 16:05:36 +0000 (18:05 +0200)
commit3e60650fa8479d507b31965d09ee521ba4e91182
treeb5d9f46f56576ce7c246fa2935c9a0d130cdb5c4
parent6724ea133123f1a04eeb7b834b7f8f05dda8594c
notebook: Fix assert in ::drag-motion

The drag destination might be empty, we shouldn't be checking whether
it contains pages at all. Instead, check the source notebook, which
ought to have a selected page if you're dragging something from there.

https://bugzilla.gnome.org/show_bug.cgi?id=749893
gtk/gtknotebook.c